9.8
CRITICAL CVSS 3.1
CVE-2026-4480
Samba: samba: remote code execution in printing subsystem via unescaped job description
Description

A flaw was found in the Samba printing subsystem. Samba passes the client-controlled job description string to the command configured with the "print command" setting via the "%J" substitution character without escaping shell meta characters. A remote attacker could exploit this vulnerability by sending a specially crafted print job description that contains unescaped shell characters. This could lead to remote code execution on the affected system.

INFO

Published Date :

May 26, 2026, 3:16 p.m.

Last Modified :

June 15, 2026, 10:16 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-4480 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
2 Redhat openshift_container_platform
3 Redhat enterprise_linux
1 Samba samba
1 Gnu grub2
1 Ubuntu libefiboot
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 CRITICAL [email protected]
CVSS 3.1 CRITICAL [email protected]
Solution
Patch Samba to escape shell meta characters in print job descriptions to prevent code execution.
  • Update Samba to the latest version.
  • Configure the 'print command' setting carefully.
  • Avoid using user-supplied data in commands.
  • Validate all user inputs.
Public PoC/Exploit Available at Github

CVE-2026-4480 has a 8 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2026-4480.

URL Resource
https://access.redhat.com/errata/RHSA-2026:22644
https://access.redhat.com/errata/RHSA-2026:22963
https://access.redhat.com/errata/RHSA-2026:25049
https://access.redhat.com/errata/RHSA-2026:25979
https://access.redhat.com/security/cve/CVE-2026-4480 Mitigation Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2452232 Issue Tracking Third Party Advisory
https://bugzilla.samba.org/show_bug.cgi?id=16033 Issue Tracking Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-4480 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

This is an exploit poc for CVE-2026-4480

Python

Updated: 18 hours, 36 minutes ago
0 stars 0 fork 0 watcher
Born at : June 16, 2026, 9:49 a.m. This repo has been linked 1 different CVEs too.

smb spooler to RCE

Python

Updated: 1 week, 1 day ago
1 stars 0 fork 0 watcher
Born at : June 8, 2026, 4:56 p.m. This repo has been linked 1 different CVEs too.

HTB-Abducted-writeup

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : June 8, 2026, 12:34 p.m. This repo has been linked 1 different CVEs too.

CVE-2026-4480

Python

Updated: 1 week, 1 day ago
0 stars 0 fork 0 watcher
Born at : June 7, 2026, 11:20 p.m. This repo has been linked 1 different CVEs too.

Exploit CVE-2026-4480

Python

Updated: 1 week, 2 days ago
0 stars 0 fork 0 watcher
Born at : June 7, 2026, 10:53 a.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 1 week, 1 day ago
6 stars 3 fork 3 watcher
Born at : June 5, 2026, 11:05 a.m. This repo has been linked 1 different CVEs too.

DSA and DLA for Debian last 14 days

Python

Updated: 1 week, 2 days ago
0 stars 1 fork 1 watcher
Born at : Feb. 12, 2025, 2:08 p.m. This repo has been linked 1048 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 1 week, 2 days ago
7810 stars 1261 fork 1261 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 718 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-4480 vulnerability anywhere in the article.

  • CybersecurityNews
Critical Samba Vulnerability Enables Remote Code Execution Attacks

A critical vulnerability in the Samba printing subsystem, tracked as CVE-2026-4480, has been disclosed, allowing unauthenticated attackers to achieve remote code execution (RCE) on affected systems. T ... Read more

Published Date: May 29, 2026 (2 weeks, 4 days ago)

The following table lists the changes that have been made to the CVE-2026-4480 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Jun. 15, 2026

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2026:25979
  • CVE Modified by [email protected]

    Jun. 10, 2026

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2026:25049
  • CVE Modified by [email protected]

    Jun. 04, 2026

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2026:22963
  • CVE Modified by [email protected]

    Jun. 03, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
    Removed CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
  • CVE Modified by [email protected]

    Jun. 03, 2026

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2026:22644
  • Initial Analysis by [email protected]

    Jun. 01, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* versions from (including) 4.1.0 up to (excluding) 4.2.1
    Added Reference Type Red Hat, Inc.: https://access.redhat.com/security/cve/CVE-2026-4480 Types: Mitigation, Third Party Advisory
    Added Reference Type Red Hat, Inc.: https://bugzilla.redhat.com/show_bug.cgi?id=2452232 Types: Issue Tracking, Third Party Advisory
    Added Reference Type Red Hat, Inc.: https://bugzilla.samba.org/show_bug.cgi?id=16033 Types: Issue Tracking, Vendor Advisory
  • New CVE Received by [email protected]

    May. 26, 2026

    Action Type Old Value New Value
    Added Description A flaw was found in the Samba printing subsystem. Samba passes the client-controlled job description string to the command configured with the "print command" setting via the "%J" substitution character without escaping shell meta characters. A remote attacker could exploit this vulnerability by sending a specially crafted print job description that contains unescaped shell characters. This could lead to remote code execution on the affected system.
    Added CVSS V3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
    Added CWE CWE-78
    Added Reference https://access.redhat.com/security/cve/CVE-2026-4480
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2452232
    Added Reference https://bugzilla.samba.org/show_bug.cgi?id=16033
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.